package ZuoYe17;

import java.util.Scanner;

public class Di3 extends Di2{
    public static void main(String[] args) {
        Scanner sc=new Scanner(System.in);
        System.out.println("请输入作业名");
        String a= sc.next();
        String b="[\\u4e00-\\u9fa5]+.zip";
        String c="[\\u4e00-\\u9fa5]+.rar";
        if (a.matches(b)){
            System.out.println("作业名合适");
        }else {
            System.out.println("不合适");
        }


    }
}
